package com.lcx.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName(value = "scheduleseat")
public class ScheduleSeat {
  @TableId(value = "scheduleseat_id",type = IdType.INPUT)
  private long scheduleSeatId;
  @TableField(value = "schedule_id")
  private long scheduleId;
  @TableField(value = "seat_id")
  private long seatId;
  @TableField(value = "hall_id")
  private long hallId;
  @TableField(value = "row_number")
  private long rowNumber;
  @TableField(value = "seat_number")
  private long seatNumber;
  @TableField(value = "seat_type")
  private String seatType;
  @TableField(value = "is_reserved")
  private Boolean isReserved;
  @TableField(value = "seat_price")
  private long seatPrice;
  @TableField(value = "x")
  private long X;
  @TableField(value = "y")
  private long Y;
  @TableField(value = "w")
  private long W;
  @TableField(value = "h")
  private long H;
  @TableField(value = "status")
  private long status;
  @TableField(value = "i")
  private String I;

}
